package lab02.text09;

/**
 * Created by Adminitrator on 2017/10/23.
 */
public class Student {
    //属性：学号”、“班号”、“姓名”、“性别”、“年龄”
    int stuNum;
    int classNum;
    String name;
    String sex;
    int age;
    int getStuNum(){
        return stuNum;
    }
    int getClassNum(){
        return classNum;
    }
    String getName(){
        return name;
    }
    String getSex(){
        return sex;
    }
    int getAge(){
        return age;
    }
     public String toString(){
        return "stuNum,classNum,name,sex,age";
     }
}
